home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness:…ecision-Making Strategies / Workplace Effectiveness: Decision-Making Strategies.iso / pc / Files / Whowhat.dxr / 00003_Navigation handlers.ls < prev    next >
Encoding:
Text File  |  1998-12-16  |  820 b   |  39 lines

  1. global gMasterData, gSection, gSpLocList, gSpNameList
  2.  
  3. on goIntro
  4.   go(label("intro"))
  5.   set gSection to #intro
  6.   goNarrator(gMasterData, "145")
  7. end
  8.  
  9. on go1
  10.   go(label("1"))
  11.   set gSection to 1
  12.   goNarrator(gMasterData, "147")
  13. end
  14.  
  15. on go2
  16.   go(label("2"))
  17.   set gSection to 2
  18.   if not activationOn(gMasterData) then
  19.     activate(gMasterData)
  20.   end if
  21. end
  22.  
  23. on storeSpLocs
  24.   set gSpLocList to []
  25.   set gSpNameList to []
  26.   repeat with i = 5 to 39
  27.     set spLoc to the loc of sprite i
  28.     set spName to the name of member the member of sprite i
  29.     append(gSpLocList, spLoc)
  30.     append(gSpNameList, spName)
  31.   end repeat
  32.   repeat with i = 46 to 108
  33.     set spLoc to the loc of sprite i
  34.     set spName to the name of member the member of sprite i
  35.     append(gSpLocList, spLoc)
  36.     append(gSpNameList, spName)
  37.   end repeat
  38. end
  39.